package com.tarena.lbs.user.dao.repository;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.tarena.lbs.user.pojo.po.AdminPO;

import java.util.List;

public interface AdminRepository {
    AdminPO findByPhone(String phone);
    AdminPO findById(Integer id);

    List<AdminPO> findList(QueryWrapper<AdminPO> queryWrapper);
}